package fr.ece.ing4.si.ubank;

public class UBankTest {
	public static void main(String[] args) {
		Bank b = new Bank(NACCOUNTS, INITIAL_BALANCE);
		int i;
		for (i = 0; i < NACCOUNTS; i++) {
			TransferRunnable r = new TransferRunnable(b, i, INITIAL_BALANCE);
			Thread t = new Thread(r);
			t.start();
		}
	}

	public static final int NACCOUNTS = 100;
	public static final double INITIAL_BALANCE = 1000;
}
